#!/bin/bash

. ./libs.sh

removeLinesEndWith /etc/hosts " redis"
removeLinesEndWith /etc/hosts " rediscluster"

echo "$(getInternalIp) redis" >> /etc/hosts
echo "$(getInternalIp) rediscluster" >> /etc/hosts
